home *** CD-ROM | disk | FTP | other *** search
/ Champak 143 / (Vol 143) Nov 15 2011.iso / Games / xeno_tactic.swf / scripts / aso#77205 / aso#18286.as < prev    next >
Text File  |  2011-11-15  |  10KB  |  257 lines

  1. var ┬º\x01┬º = 770;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 770)
  5.    {
  6.       set("\x01",eval("\x01") - 579);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 776)
  10.    {
  11.       set("\x01",eval("\x01") + 36);
  12.       ┬º┬ºpush(true);
  13.    }
  14.    else if(eval("\x01") == 191)
  15.    {
  16.       set("\x01",eval("\x01") + 650);
  17.       if(┬º┬ºpop())
  18.       {
  19.          set("\x01",eval("\x01") - 65);
  20.       }
  21.    }
  22.    else
  23.    {
  24.       if(eval("\x01") == 285)
  25.       {
  26.          set("\x01",eval("\x01") + 342);
  27.          if(!eval(┬º┬ºconstant(8))[┬º┬ºconstant(10)])
  28.          {
  29.             var _loc2_ = eval(┬º┬ºconstant(8))[┬º┬ºconstant(10)] = function()
  30.             {
  31.             }[┬º┬ºconstant(23)];
  32.             _loc2_["aso#21491"] = function(┬ºaso#95851┬º, ┬ºaso#72608┬º, ┬ºaso#41271┬º, ┬ºaso#86107┬º, ┬ºaso#54770┬º)
  33.             {
  34.                var _loc15_ = 10;
  35.                var _loc14_ = 14;
  36.                var _loc16_ = true;
  37.                var _loc17_ = false;
  38.                this[┬º┬ºconstant(9)] = ┬ºaso#95851┬º[┬º┬ºconstant(3)];
  39.                this[┬º┬ºconstant(17)] = ┬ºaso#95851┬º[0][┬º┬ºconstant(3)];
  40.                this[┬º┬ºconstant(0)] = new ┬º\┬º\┬ºconstant(4)┬º();
  41.                var _loc10_ = 0;
  42.                while(_loc10_ < this[┬º┬ºconstant(9)])
  43.                {
  44.                   this[┬º┬ºconstant(0)][_loc10_] = new ┬º\┬º\┬ºconstant(4)┬º();
  45.                   _loc10_ = _loc10_ + 1;
  46.                }
  47.                if(┬ºaso#72608┬º == undefined)
  48.                {
  49.                   return "ERROR: No starting point";
  50.                }
  51.                if(┬ºaso#86107┬º == undefined)
  52.                {
  53.                   return "ERROR: No ending point";
  54.                }
  55.                this[┬º┬ºconstant(1)] = new ┬º\┬º\┬ºconstant(4)┬º();
  56.                this[┬º┬ºconstant(7)](┬ºaso#72608┬º,┬ºaso#41271┬º,undefined,0);
  57.                while(this[┬º┬ºconstant(1)][┬º┬ºconstant(3)] > 0 && !this[┬º┬ºconstant(6)](┬ºaso#86107┬º,┬ºaso#54770┬º))
  58.                {
  59.                   _loc10_ = this[┬º┬ºconstant(19)]();
  60.                   var _loc4_ = this[┬º┬ºconstant(1)][_loc10_][0];
  61.                   var _loc11_ = this[┬º┬ºconstant(1)][_loc10_][1];
  62.                   this[┬º┬ºconstant(20)](_loc4_,_loc11_);
  63.                   var _loc3_ = _loc4_ + 1;
  64.                   while(_loc3_ >= _loc4_ - 1)
  65.                   {
  66.                      var _loc2_ = _loc11_ - 1;
  67.                      while(_loc2_ <= _loc11_ + 1)
  68.                      {
  69.                         if(_loc3_ >= 0 && _loc3_ < this[┬º┬ºconstant(9)] && _loc2_ >= 0 && _loc2_ < this[┬º┬ºconstant(17)] && !(_loc3_ == _loc4_ && _loc2_ == _loc11_) && (_loc16_ || _loc3_ == _loc4_ || _loc2_ == _loc11_))
  70.                         {
  71.                            var _loc6_ = true;
  72.                            if(!_loc17_ && _loc3_ != _loc4_ && _loc2_ != _loc11_)
  73.                            {
  74.                               if(┬ºaso#95851┬º[_loc3_][_loc11_][┬º┬ºconstant(5)] == 0)
  75.                               {
  76.                                  _loc6_ = false;
  77.                               }
  78.                               else if(┬ºaso#95851┬º[_loc4_][_loc2_][┬º┬ºconstant(5)] == 0)
  79.                               {
  80.                                  _loc6_ = false;
  81.                               }
  82.                            }
  83.                            if(_loc6_ && ┬ºaso#95851┬º[_loc3_][_loc2_][┬º┬ºconstant(5)] != 0)
  84.                            {
  85.                               if(!this[┬º┬ºconstant(6)](_loc3_,_loc2_))
  86.                               {
  87.                                  var _loc8_ = undefined;
  88.                                  if(this[┬º┬ºconstant(0)][_loc4_][_loc11_][┬º┬ºconstant(2)] == undefined)
  89.                                  {
  90.                                     _loc8_ = 0;
  91.                                  }
  92.                                  else
  93.                                  {
  94.                                     _loc8_ = this[┬º┬ºconstant(0)][_loc4_][_loc11_][┬º┬ºconstant(2)];
  95.                                  }
  96.                                  var _loc5_ = _loc8_ + (!(_loc3_ == _loc4_ || _loc2_ == _loc11_) ? _loc14_ : _loc15_) * ┬ºaso#95851┬º[_loc3_][_loc2_][┬º┬ºconstant(5)];
  97.                                  if(this[┬º┬ºconstant(18)](_loc3_,_loc2_))
  98.                                  {
  99.                                     if(_loc5_ < this[┬º┬ºconstant(0)][_loc3_][_loc2_][┬º┬ºconstant(2)])
  100.                                     {
  101.                                        this[┬º┬ºconstant(7)](_loc3_,_loc2_,[_loc4_,_loc11_],_loc5_,undefined,true);
  102.                                     }
  103.                                  }
  104.                                  else
  105.                                  {
  106.                                     var _loc9_ = (eval(┬º┬ºconstant(15))[┬º┬ºconstant(16)](_loc3_ - ┬ºaso#86107┬º) + eval(┬º┬ºconstant(15))[┬º┬ºconstant(16)](_loc2_ - ┬ºaso#54770┬º)) * 10;
  107.                                     this[┬º┬ºconstant(7)](_loc3_,_loc2_,[_loc4_,_loc11_],_loc5_,_loc9_,false);
  108.                                  }
  109.                               }
  110.                            }
  111.                         }
  112.                         _loc2_ = _loc2_ + 1;
  113.                      }
  114.                      _loc3_ = _loc3_ - 1;
  115.                   }
  116.                }
  117.                var _loc22_ = this[┬º┬ºconstant(6)](┬ºaso#86107┬º,┬ºaso#54770┬º);
  118.                if(_loc22_)
  119.                {
  120.                   var _loc19_ = new ┬º\┬º\┬ºconstant(4)┬º();
  121.                   _loc4_ = ┬ºaso#86107┬º;
  122.                   _loc11_ = ┬ºaso#54770┬º;
  123.                   while(_loc4_ != ┬ºaso#72608┬º || _loc11_ != ┬ºaso#41271┬º)
  124.                   {
  125.                      _loc19_[┬º┬ºconstant(14)]([_loc4_,_loc11_,this[┬º┬ºconstant(0)][_loc4_][_loc11_][┬º┬ºconstant(2)]]);
  126.                      var _loc18_ = this[┬º┬ºconstant(0)][_loc4_][_loc11_][┬º┬ºconstant(12)][0];
  127.                      var ┬º┬ºconstant(21) = this[┬º┬ºconstant(0)][_loc4_][_loc11_][┬º┬ºconstant(12)][1];
  128.                      _loc4_ = _loc18_;
  129.                      _loc11_ = eval(┬º┬ºconstant(21));
  130.                   }
  131.                   _loc19_[┬º┬ºconstant(14)]([┬ºaso#72608┬º,┬ºaso#41271┬º]);
  132.                   return _loc19_;
  133.                }
  134.                return undefined;
  135.             };
  136.             _loc2_[┬º┬ºconstant(18)] = function(y, x)
  137.             {
  138.                return this[┬º┬ºconstant(0)][y][x][┬º┬ºconstant(11)];
  139.             };
  140.             _loc2_[┬º┬ºconstant(6)] = function(y, x)
  141.             {
  142.                return this[┬º┬ºconstant(0)][y][x][┬º┬ºconstant(13)];
  143.             };
  144.             _loc2_[┬º┬ºconstant(19)] = function()
  145.             {
  146.                var _loc5_ = 9999;
  147.                var _loc6_ = 0;
  148.                var _loc4_ = undefined;
  149.                var _loc3_ = undefined;
  150.                var _loc2_ = this[┬º┬ºconstant(1)][┬º┬ºconstant(3)];
  151.                while(true)
  152.                {
  153.                   _loc2_;
  154.                   if(_loc2_-- <= 0)
  155.                   {
  156.                      break;
  157.                   }
  158.                   _loc3_ = this[┬º┬ºconstant(0)][this[┬º┬ºconstant(1)][_loc2_][0]][this[┬º┬ºconstant(1)][_loc2_][1]];
  159.                   _loc4_ = _loc3_[┬º┬ºconstant(22)] + _loc3_[┬º┬ºconstant(2)];
  160.                   if(_loc4_ <= _loc5_)
  161.                   {
  162.                      _loc5_ = _loc4_;
  163.                      _loc6_ = _loc2_;
  164.                   }
  165.                }
  166.                return _loc6_;
  167.             };
  168.             _loc2_[┬º┬ºconstant(20)] = function(y, x)
  169.             {
  170.                var _loc3_ = this[┬º┬ºconstant(1)][┬º┬ºconstant(3)];
  171.                var _loc2_ = 0;
  172.                while(_loc2_ < _loc3_)
  173.                {
  174.                   if(this[┬º┬ºconstant(1)][_loc2_][0] == y)
  175.                   {
  176.                      if(this[┬º┬ºconstant(1)][_loc2_][1] == x)
  177.                      {
  178.                         this[┬º┬ºconstant(1)].splice(_loc2_,1);
  179.                         break;
  180.                      }
  181.                   }
  182.                   _loc2_ = _loc2_ + 1;
  183.                }
  184.                this[┬º┬ºconstant(0)][y][x][┬º┬ºconstant(11)] = false;
  185.                this[┬º┬ºconstant(0)][y][x][┬º┬ºconstant(13)] = true;
  186.             };
  187.             _loc2_[┬º┬ºconstant(7)] = function(y, x, ┬ºaso#67169┬º, ┬ºaso#08121┬º, ┬ºaso#89312┬º, ┬ºaso#80668┬º)
  188.             {
  189.                if(!┬ºaso#80668┬º)
  190.                {
  191.                   this[┬º┬ºconstant(1)][┬º┬ºconstant(14)]([y,x]);
  192.                   this[┬º┬ºconstant(0)][y][x] = {┬º\┬º\┬ºconstant(22)┬º:┬ºaso#89312┬º,┬º\┬º\┬ºconstant(11)┬º:true,┬º\┬º\┬ºconstant(13)┬º:false};
  193.                }
  194.                this[┬º┬ºconstant(0)][y][x][┬º┬ºconstant(12)] = ┬ºaso#67169┬º;
  195.                this[┬º┬ºconstant(0)][y][x][┬º┬ºconstant(2)] = ┬ºaso#08121┬º;
  196.             };
  197.             ┬º┬ºpush(ASSetPropFlags(eval(┬º┬ºconstant(8))[┬º┬ºconstant(10)][┬º┬ºconstant(23)],null,1));
  198.          }
  199.          ┬º┬ºpop();
  200.          break;
  201.       }
  202.       if(eval("\x01") == 841)
  203.       {
  204.          set("\x01",eval("\x01") - 65);
  205.          set(┬º┬ºpop(),┬º┬ºpop() - ┬º┬ºpop());
  206.          break;
  207.       }
  208.       if(eval("\x01") == 812)
  209.       {
  210.          set("\x01",eval("\x01") + 19);
  211.          if(┬º┬ºpop())
  212.          {
  213.             set("\x01",eval("\x01") - 375);
  214.          }
  215.       }
  216.       else
  217.       {
  218.          if(eval("\x01") == 199)
  219.          {
  220.             set("\x01",eval("\x01") + 64);
  221.             break;
  222.          }
  223.          if(eval("\x01") == 831)
  224.          {
  225.             set("\x01",eval("\x01") - 375);
  226.             break;
  227.          }
  228.          if(eval("\x01") == 456)
  229.          {
  230.             set("\x01",eval("\x01") - 317);
  231.             ┬º┬ºpush(true);
  232.          }
  233.          else if(eval("\x01") == 139)
  234.          {
  235.             set("\x01",eval("\x01") + 60);
  236.             if(┬º┬ºpop())
  237.             {
  238.                set("\x01",eval("\x01") + 64);
  239.             }
  240.          }
  241.          else
  242.          {
  243.             if(eval("\x01") != 263)
  244.             {
  245.                if(eval("\x01") == 627)
  246.                {
  247.                   set("\x01",eval("\x01") - 627);
  248.                   break;
  249.                }
  250.                break;
  251.             }
  252.             set("\x01",eval("\x01") + 22);
  253.          }
  254.       }
  255.    }
  256. }
  257.